<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp"%>
	
	<c:choose>
		<c:when test="${fn:length(deptList) gt 0 }">
			<c:forEach var="dept" items="${deptList }">
				<table cellpadding="0" cellspacing="0" style="width: 520px;">
					<tr>
						<td>
							${dept.displayName }
						</td>
						<td>
							<a style="float: right;" title="申请绑定" href="javascript:void(0)" onclick="bindDept(${dept.id},${currentUser.id},1)">申请绑定</a>
						</td>
					</tr>
				</table>
			</c:forEach>
		</c:when>
		<c:otherwise>
			很抱歉，没有找到相应的团体或企业！
		</c:otherwise>
	</c:choose>